package com.self.smallma.myblogweb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.self.smallma.myblogweb.common.utils.PageUtils;
import com.self.smallma.myblogweb.entity.UserEntity;
import com.self.smallma.myblogweb.vo.LoginVo;
import com.self.smallma.myblogweb.vo.RegisterVo;

import java.util.Map;

/**
 * 
 *
 * @author mahuanyu
 * @email 1914096395@qq.com
 * @date 2021-07-17 17:48:05
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    UserEntity login(LoginVo loginVo);

    int register(RegisterVo registerVo);
}

